package com.dmyang.dao;

import com.dmyang.entity.Doctor;
import org.apache.ibatis.annotations.Param;

public interface DoctorMapper {
    int deleteByPrimaryKey(String pk);

    int insert(Doctor record);

    int insertSelective(Doctor record);

    Doctor selectByPrimaryKey(String pk);

    int updateByPrimaryKeySelective(Doctor record);

    int updateByPrimaryKey(Doctor record);

    Doctor selectByPkAndPwd(@Param("doctor") Doctor doctor);
}